projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df75425
)
hvm: Do not mess with APIC timer deadline if in one-shot mode.
author
Keir Fraser
<keir.fraser@citrix.com>
Tue, 28 Oct 2008 10:36:22 +0000
(10:36 +0000)
committer
Keir Fraser
<keir.fraser@citrix.com>
Tue, 28 Oct 2008 10:36:22 +0000
(10:36 +0000)
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/arch/x86/hvm/vpt.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/hvm/vpt.c
b/xen/arch/x86/hvm/vpt.c
index d9730bf14065666831021e237c0588a4a3d3f5cb..5dae7cd50593fc52f3063a2ca2b7a2e2862adf2d 100644
(file)
--- a/
xen/arch/x86/hvm/vpt.c
+++ b/
xen/arch/x86/hvm/vpt.c
@@
-389,7
+389,7
@@
void create_periodic_time(
* LAPIC ticks for process accounting can see long sequences of process
* ticks incorrectly accounted to interrupt processing.
*/
- if (
pt->source == PTSRC_lapic
)
+ if (
!pt->one_shot && (pt->source == PTSRC_lapic)
)
pt->scheduled += delta >> 1;
pt->cb = cb;
pt->priv = data;